//
//  MusicViewController.h
//  Blue-toothLight
//
//  Created by mazg on 15/6/20.
//  Copyright (c) 2015年 mazg. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LightBaseViewController.h"
#import "MusicModel.h"
#import <AVFoundation/AVFoundation.h>

@interface MusicViewController : LightBaseViewController<UITableViewDataSource,UITableViewDelegate>

/*
 第一个页面
 */
- (IBAction)toggleAction1:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *superBtn;
@property (weak, nonatomic) IBOutlet UISlider *slider;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *musicLabel;
- (IBAction)sliderChanged:(id)sender;
- (IBAction)flashBtnPressed:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *flashBtn;
@property (weak, nonatomic) IBOutlet UIButton *smoothBtn;
- (IBAction)smoothBtnPressed:(id)sender;
- (IBAction)perviousMusic:(id)sender;
- (IBAction)nextMusic:(id)sender;
- (IBAction)playMusic:(id)sender;
@property (weak, nonatomic) IBOutlet UITableView *tableView;

@property (nonatomic,strong)NSArray *musicList;
@property (nonatomic,strong)AVAudioPlayer *player;

@property (weak, nonatomic) IBOutlet UIView *textview1;
@property (weak, nonatomic) IBOutlet UIView *testview2;
@property (weak, nonatomic) IBOutlet UIView *testview3;


//暂时不需要
/*
 第二个页面
 */
@property (weak, nonatomic) IBOutlet UIButton *downBtn;
- (IBAction)toggleAction2:(id)sender;

@end
